<?php
/**
 * @copyright © 2022 by 技术先锋 All rights reserved
 * @created   by PhpStorm.
 * @author    starsphp
 * @date      2023/3/30
 * @time      2:34
 */
declare (strict_types=1);

namespace utils\workerman;

use think\Response;

class DestroyTempUploadedFiles
{
    public function __construct()
    {
        dump('======================HttpEnd');
        // dump($response);
    }
    
    public function handle(Response $response): void
    {
        // 事件监听处理
        // 销毁临时上传的文件
        app()->request->destroyTempUploadedFiles();
    }
}
